import request from '@/router/axios'

export function fetchList(query) {
  return request({
    url: '/admin/salesPublicRepertoryManage/page',
    method: 'get',
    params: query
  })
}

export function followUpList(query) {
  return request({
    url: '/admin/salesPublicRepertoryManage/page',
    method: 'get',
    params: query
  })
}

export function sFollowUp(fid) {
  return request({
    url: '/admin/salesPublicRepertoryManage/sFollowUp?fid=' + fid,
    method: 'post'
  })
}

export function updateToBatch(data, followUpUser) {
  return request({
    url: '/admin/salesPublicRepertoryManage/updateToBatch/' + followUpUser,
    method: 'put',
    data: data
  })
}

